﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="HDMonitoring.aspx.cs" Inherits="WebApplication2.HDMonitoring" %>


<asp:Content runat="server" ID="buttonContent" ContentPlaceHolderID="buttonContent">
       <asp:ImageButton ID="ImageButton1" runat="server" Height="30px" Width="30px" ImageUrl="~/Images/download.png" BackColor="#E2E2E2"/>
                <br />
                <asp:ImageButton ID="ImageButton2" runat="server" Height="30px" Width="30px"  BackColor="#E2E2E2" ImageUrl="~/Images/Print.png"/>
                <br />
                <asp:ImageButton ID="ImageButton3" runat="server" Height="30px" Width="30px"   BackColor="#E2E2E2" ImageUrl="~/Images/Unsign.png"/>
                <br />
                <asp:ImageButton ID="ImageButton4" runat="server" Height="30px" Width="30px" BackColor="#E2E2E2" ImageUrl="~/Images/Save.png"/>
                <br />
                <asp:ImageButton ID="ImageButton5" runat="server" Height="30px" Width="30px"  BackColor="#E2E2E2" ImageUrl="~/Images/Cancel.png"/>
                <br />
                <asp:ImageButton ID="ImageButton6" runat="server" Height="30px" Width="30px"  BackColor="#E2E2E2" ImageUrl="~/Images/Delete.png"/>
                <br />
                <asp:ImageButton ID="ImageButton7" runat="server" Height="30px" Width="30px" BackColor="#E2E2E2" ImageUrl="~/Images/Enable.png"/>
                <br />
                <asp:ImageButton ID="ImageButton8" runat="server" Height="30px" Width="30px" BackColor="#E2E2E2" ImageUrl="~/Images/Exit.png"/>
</asp:Content>


<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
  
 
 <script src="Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="Scripts/ScrollableGridPlugin.js" type="text/javascript"></script>
    <script  type = "text/javascript">
        $(document).ready(function () {
            //Invoke Scrollable function.
            $('#<%=GridView1.ClientID %>').Scrollable({
                ScrollHeight: 150,
            });
        });

</script>

    <style>
         .lblMrn {
            margin-left:100px
        }
    </style>

    <asp:Label ID="lblMonitoring" runat="server" Font-Size="Small" Height="10px" Font-Names="Calibri"></asp:Label>
    <asp:Label ID="lblMrn" CssClass="lblMrn"  runat="server" Font-Size="Small" Height="10px" Width="120px" ></asp:Label>
    <asp:Label ID="lblPatientName"  runat="server" Font-Size="Small" Height="10px" Width="150px" ></asp:Label>
    <br />

    <div style="overflow:auto">
    <asp:GridView AutoGenerateColumns="False" runat="server" ID="GridView1" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="4" BorderStyle="None" Font-Names="Calibri" Font-Size="Small" OnRowEditing="GridView1_RowEditing1" OnRowUpdating="GridView1_RowUpdating" OnRowDataBound="GridView1_RowDataBound" OnRowCancelingEdit="GridView1_RowCancelingEdit" >
   <Columns>
       <asp:CommandField ShowEditButton="true"/>
         <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Time_Observed1") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxTimeObserved1" runat="Server" Text='<%# Eval("Time_Observed1") %>'  Width="60px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtTimeObserved1" runat="Server"  Width="60px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>

         <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Time_Observed2") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxTimeObserved2" runat="Server" Text='<%# Eval("Time_Observed2") %>'  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtTimeObserved2" runat="Server"  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>

           <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("BP_Sys") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxBPS" runat="Server" Text='<%# Eval("BP_Sys") %>'  Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtBPS" runat="Server"  Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>   

       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("BP_Dias") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxBPD" runat="Server" Text='<%# Eval("BP_Dias") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtBPD" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>  

       
       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Pulse") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxPulse" runat="Server" Text='<%# Eval("Pulse") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtPulse" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>  
       
       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("HR") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxHr" runat="Server" Text='<%# Eval("HR") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtHr" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 
    
        <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Blood_Flow_Rate") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxBFR" runat="Server" Text='<%# Eval("Blood_Flow_Rate") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtBFR" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

         <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Blood_Pump_Speed") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxBPum" runat="Server" Text='<%# Eval("Blood_Pump_Speed") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtBPum" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Arterial_Pressure") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxAPR" runat="Server" Text='<%# Eval("Arterial_Pressure") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtAPR" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

          <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Venous_Pressure") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxVPR" runat="Server" Text='<%# Eval("Venous_Pressure") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtVPR" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Ultrafiltration_Rate") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxUFR" runat="Server" Text='<%# Eval("Ultrafiltration_Rate") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtUFR" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

        <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Ultrafiltration_Vol") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxUFV" runat="Server" Text='<%# Eval("Ultrafiltration_Vol") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtUFV" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

        <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Transmembrane_Pressure") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxTMP" runat="Server" Text='<%# Eval("Transmembrane_Pressure") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtTMP" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Dialysate_Flow_Rate") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxFlow" runat="Server" Text='<%# Eval("Dialysate_Flow_Rate") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtFlow" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 


       <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Conductivity") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxCond" runat="Server" Text='<%# Eval("Conductivity") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtCond" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

         <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Temperature") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxTemp" runat="Server" Text='<%# Eval("Temperature") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtTemp" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

         <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Kt_V") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxKTV" runat="Server" Text='<%# Eval("Kt_V") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtKTV" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 


          <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Glucose_Value") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxGluc" runat="Server" Text='<%# Eval("Glucose_Value") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtGluc" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

          <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("O2Sat") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxSat" runat="Server" Text='<%# Eval("O2Sat") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtSat" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

        <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("BI_MEASVOL") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxHep" runat="Server" Text='<%# Eval("BI_MEASVOL") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtHep" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

       
        <asp:TemplateField>

                <ItemTemplate>

                <%# Eval("Saline") %>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxFluids" runat="Server" Text='<%# Eval("Saline") %>' Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtFluids" runat="Server" Width="30px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

        </Columns>
        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
         <HeaderStyle BackColor="#000099" Font-Bold="True" ForeColor="#CCCCFF" />
         <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
         <RowStyle BackColor="#CCFFFF" ForeColor="Black" />
         <SelectedRowStyle BackColor="#009999" ForeColor="#CCFF99" Font-Bold="True" />
         <SortedAscendingCellStyle BackColor="#EDF6F6" />
         <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
         <SortedDescendingCellStyle BackColor="#D6DFDF" />
         <SortedDescendingHeaderStyle BackColor="#002876" />

         <EmptyDataTemplate>
              <tr style="background-color:blue;">
            <th scope="col">
                <asp:Label ID="lblDate" runat="server" Width="60px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblTime" runat="server" Width="40px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblBPS" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblBPD" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblPulse" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblHR" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblBFR" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblBPum" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
             <th scope="col">
                <asp:Label ID="lblAPR" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblVPR" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblUFR" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblUFV" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
             <th scope="col">
                <asp:Label ID="lblTMP" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblFLow" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
             <th scope="col">
                <asp:Label ID="lblCond" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblTemp" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblKTV" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblGluc" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblSat" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblHep" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
            <th scope="col">
                <asp:Label ID="lblFluids" runat="server" Width="30px" Font-Size="Small" Height="10px"></asp:Label>
            </th>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="AddTimeObserved1" Width="60px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="AddTimeObserved2" Width="40px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="AddBPS" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addBPD" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addPulse" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addHr" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addBFR" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addPump" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addArtP" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addVenP" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addUFR" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addUFV" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addTMP" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addFlow" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
             <td>
                <asp:TextBox ID="addCond" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addTemp" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addKTV" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="addGlu" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
             <td>
                <asp:TextBox ID="AddSPO2" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
            <td>
                <asp:TextBox ID="AddHep" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
             <td>
                <asp:TextBox ID="AddFluids" Width="30px" Font-Size="Small" Height="10px" runat="server" />
            </td>
         </tr>
             
         </EmptyDataTemplate>

</asp:GridView>
          </div>

   <br />
    <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" Font-Size="Small" Height="10px"/>
    <br />
    <asp:Label ID="lblEvents" Width="150px" runat="server" Height="10px" Font-Size="Small"></asp:Label>
    
    <div style="overflow:auto">
     <asp:GridView AutoGenerateColumns="False" runat="server" ID="GridView2" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="4" BorderStyle="None" Font-Names="Calibri" Font-Size="Small" AutoGenerateEditButton="true" OnRowDataBound="GridView2_RowDataBound" OnRowEditing="GridView2_RowEditing" OnRowCancelingEdit="GridView2_RowCancelingEdit" >
   <Columns>

         <asp:TemplateField>

                <ItemTemplate>

                <asp:Label ID="lblTime_Recorded1" runat="server" Text='<%# Eval("Time_Recorded1") %>'></asp:Label>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxTime_Recorded1" runat="Server" Text='<%# Eval("Time_Recorded1") %>'  Width="60px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtTime_Recorded1" runat="Server"  Width="60px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>

         <asp:TemplateField>

                <ItemTemplate>

                 <asp:Label ID="lblTime_Recorded2" runat="server" Text='<%# Eval("Time_Recorded2") %>'></asp:Label>


                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxTime_Recorded2" runat="Server" Text='<%# Eval("Time_Recorded2") %>'  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtTime_Recorded2" runat="Server"  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>

         <asp:TemplateField>

                <ItemTemplate>
                 <asp:Label ID="lblInitials" runat="server" Text='<%# Eval("Initials") %>'></asp:Label>

                </ItemTemplate>

                <EditItemTemplate>

                 <asp:DropDownList ID="ddlInitials" runat="server"></asp:DropDownList>

                </EditItemTemplate>

                <FooterTemplate>

                    <asp:DropDownList ID="ddlInitials1" runat="server" ></asp:DropDownList>

                </FooterTemplate>

                </asp:TemplateField>

         <asp:TemplateField>

                <ItemTemplate>
                    <asp:Label ID="lblComplications" runat="server" Text='<%# Eval("Complications") %>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>

                 <asp:DropDownList ID="ddlComplications" runat="server"></asp:DropDownList>

                </EditItemTemplate>

                <FooterTemplate>

                    <asp:DropDownList ID="ddlComplications1" runat="server"></asp:DropDownList>

                </FooterTemplate>

                </asp:TemplateField>

         <asp:TemplateField>

                <ItemTemplate>
                     <asp:Label ID="lblSeverity" runat="server" Text='<%# Eval("Severity") %>'></asp:Label>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxSeverity" runat="Server" Text='<%# Eval("Severity") %>'  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtSeverity" runat="Server"  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField>
       
          <asp:TemplateField>

                <ItemTemplate>
                     <asp:Label ID="lblTreatment1" runat="server" Text='<%# Eval("Treatment1") %>'></asp:Label>
                </ItemTemplate>

                <EditItemTemplate>

                 <asp:DropDownList ID="ddlTreatment" runat="server"></asp:DropDownList>

                </EditItemTemplate>

                <FooterTemplate>

                    <asp:DropDownList ID="ddlTreatment1" runat="server"></asp:DropDownList>

                </FooterTemplate>

                </asp:TemplateField>

        <asp:TemplateField>

                <ItemTemplate>

                <asp:Label ID="lblTreatment2" runat="server" Text='<%# Eval("Treatment2") %>'></asp:Label>

                </ItemTemplate>

                <EditItemTemplate>

                 <asp:DropDownList ID="ddlTreatmentTwo" runat="server"></asp:DropDownList>

                </EditItemTemplate>

                <FooterTemplate>

                    <asp:DropDownList ID="ddlTreatmentTwo1" runat="server"></asp:DropDownList>

                </FooterTemplate>

                </asp:TemplateField>

        <asp:TemplateField>

                <ItemTemplate>

                <asp:Label ID="lblTreatment3" runat="server" Text='<%# Eval("Treatment3") %>'></asp:Label>

                </ItemTemplate>

                <EditItemTemplate>

                 <asp:DropDownList ID="ddlTreatmentThree"  runat="server"></asp:DropDownList>

                </EditItemTemplate>

                <FooterTemplate>

                    <asp:DropDownList ID="ddlTreatmentThree1" runat="server"></asp:DropDownList>

                </FooterTemplate>

                </asp:TemplateField>
       
       <asp:TemplateField>

                <ItemTemplate>

                 <asp:Label ID="lblComments" runat="server" Text='<%# Eval("Comments") %>'></asp:Label>

                </ItemTemplate>

                <EditItemTemplate>

                <asp:TextBox ID="tbxComments" runat="Server" Text='<%# Eval("Comments") %>'  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </EditItemTemplate>

                <FooterTemplate>

                <asp:TextBox ID="txtComments" runat="Server"  Width="40px"  Font-Size="small" Height="10px"></asp:TextBox>

                </FooterTemplate>

                </asp:TemplateField> 

        </Columns>
         <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
         <HeaderStyle BackColor="#000099" Font-Bold="True" ForeColor="#CCCCFF" />
         <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
         <RowStyle BackColor="#CCFFFF" ForeColor="Black" />
         <SelectedRowStyle BackColor="#009999" ForeColor="#CCFF99" Font-Bold="True" />
         <SortedAscendingCellStyle BackColor="#EDF6F6" />
         <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
         <SortedDescendingCellStyle BackColor="#D6DFDF" />
         <SortedDescendingHeaderStyle BackColor="#002876" />

        
</asp:GridView>
    </div>
    <br />
    
    <div style="width:1000px; height:50px">
        <asp:TextBox ID="tbxHdComments" runat="server" CssClass="tbxHdComments" Width="1000px" Height="50px" TextMode="MultiLine"></asp:TextBox>
    </div>
    <br />
    <asp:Label ID="Label3" runat="server" Text="Label" Font-Size="Small" Height="10px"></asp:Label>
    <asp:CheckBox ID="CheckBox1" runat="server" />
    <br />
    <asp:TextBox ID="TextBox2" runat="server" Font-Size="Small" Height="10px"></asp:TextBox>
    <asp:TextBox ID="TextBox3" runat="server" Font-Size="Small" Height="10px"></asp:TextBox>
    <br />
    <asp:Label ID="Label4" runat="server" Text="Label" Font-Size="Small" Height="10px"></asp:Label>
    <br />
     <asp:TextBox ID="TextBox4" runat="server" Font-Size="Small" Height="10px"></asp:TextBox>
    <asp:TextBox ID="TextBox5" runat="server" Font-Size="Small" Height="10px"></asp:TextBox>
    <br />

    
    <style>
        .tbxHdComments {
        resize:none
        }
        .auto-style1 {
            width: 100%;
        }
    </style>
</asp:Content>